package com.cy.mall.dao.mapper.enter;

import com.cy.mall.model.domain.enter.EnterDeclareDataDetail;
import com.cy.mall.model.dto.shuidai.EnterDeclareDataDetailRequestDTO;
import com.cy.mall.model.vo.enter.EnterDeclareDataDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Description 企业-申报数据明细 mapper
 * @Author tanyilin
 * @Date 2019/4/19 14:33
 */
@Mapper
public interface EnterDeclareDataDetailMapper extends BaseMapper<EnterDeclareDataDetail> {

    /**
     * 查询 企业-申报数据明细
     * @param enterId
     * @return java.util.List<com.cy.mall.model.vo.enter.EnterDeclareDataDetailVO>
     */
    List<EnterDeclareDataDetailVO> selectEnterDeclareDataDetail(@Param("enterId") Long enterId);

    /**
     * 根据 enterId 删除全部信息
     * @param enterId
     * @return void
     */
    void deleteAllByEnterId(@Param("enterId") Long enterId);

    /**
     * 查询 评估接口 需要的企业申报数据明细参数
     * @param enterId
     * @return java.util.List<com.cy.mall.model.dto.shuidai.EnterDeclareDataDetailRequestDTO>
     */
    List<EnterDeclareDataDetailRequestDTO> selectEnterDeclareDataDetailRequestDTO(@Param("enterId") Long enterId);
}
